package com.nuoniu.sibanyun.mapper.finance;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nuoniu.sibanyun.entity.finance.VAssetsLiabilitiesMain;
import org.apache.ibatis.annotations.Select;


/**
 * <p>
 * 资产负债表 Mapper 接口
 * </p>
 *
 * @author 小啊刚
 * @since 2021-05-26
 */
public interface VAssetsLiabilitiesMainMapper extends BaseMapper<VAssetsLiabilitiesMain> {

    @Select("select GROUP_CONCAT(id) from far_balance_sheet where account_year=#{accountYear} and company_id=#{companyId}")
    String getIds(Integer accountYear, Integer companyId);
}
